package com.zxw.设计模式.结构型.代理模式.CGLIB代理.domain;

/**
 * @projectName: util-cloud
 * @package: com.zxw.设计模式.结构型.代理模式.CGLIB代理.domain
 * @className: User
 * @author: zhangxuewei
 * @description:
 * @date: 2023/6/17 15:42
 * @version: 1.0
 */
public class User {

    private String name;
    private Integer version;

    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public User() {
    }

    public User(String name, Integer version) {
        this.name = name;
        this.version = version;
    }

    public User(String name, Integer version, Integer age) {
        this.name = name;
        this.version = version;
        this.age = age;
    }
}
